package com.zhongan.cloud.retry;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.retry.annotation.EnableRetry;

// spring 4.2.x以后会自动切换代理方式，所以不强制指定cglib代理也行
// @EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableRetry
@SpringBootApplication
public class RetryApplication {

    public static void main(String[] args) {
        SpringApplication.run(RetryApplication.class, args);
    }

}
